package com.ls.lserp.dbaccess.Dao;

import java.util.List;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.dbaccess.Entity.StyleOperatingEntity;
import com.ls.lserp.dbaccess.Entity.StyleOperatingEntityWithBLOBs;

@MyBatisDao
public interface StyleOperatingEntityMapper extends CrudDao<StyleOperatingEntity> {
	int deleteByPrimaryKey(Long operatingId);

	int insert(StyleOperatingEntityWithBLOBs record);

	int insertSelective(StyleOperatingEntityWithBLOBs record);

	StyleOperatingEntityWithBLOBs selectByPrimaryKey(Long operatingId);

	int updateByPrimaryKeySelective(StyleOperatingEntityWithBLOBs record);

	int updateByPrimaryKeyWithBLOBs(StyleOperatingEntityWithBLOBs record);

	int updateByPrimaryKey(StyleOperatingEntity record);

	List<StyleOperatingEntity> findList(Long styleId);

	int insertData(StyleOperatingEntity entity);
	
	int insertList(List<StyleOperatingEntity> list);
	
	List<StyleOperatingEntity> findByUpdateDate(String date);
	
	int updateStatus(StyleOperatingEntity entity);
}